<template>
  <div>
    <h1 class="red">Hearder</h1>
    <p>{{ num }}</p>
  </div>
</template>

<script>
export default {
  name: "CC",
  props: ["num"],
  data() {
    return {
      
    };
  },
};
</script>

<style>
.red {
  background-color: red;
  height: 100px;
}
</style>